import request from '@/utils/request';

/**
 * @description 查询列表
 * &highwayId=33            //高速id
&roadType=02            //01:互通 02:隧道 03:特殊路段
 */
export const remoteList = params => {
    return request.get('/sys/ConstructionManagement/query', params);
};

export const allRoadList = ()=>{
    return request.get(`/sys/ConstructionManagement/query`)
}
/**
 * 添加
 */
export const addInfo = data => {
    return request.post(`/sys/ConstructionManagement/insert`, data);
};

/**
 * 查看路段信息
 */
export const getSchemeInfo = (schemeId,params) => {
    return request.get(`/sys/roadConstructionManageScheme/query?schemeId=${schemeId}`,params);
};

export default {
    remoteList,
    allRoadList
};
